-
Notifications
You must be signed in to change notification settings - Fork 168
tests(benchmark): port additional Nethermind cases #1992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests(benchmark): port additional Nethermind cases #1992
Conversation
5345e70
to
55af01c
Compare
More information on the I think we won’t port the 1-byte, 32-byte, 1 KiB, or 16 KiB scenarios, as we try to reduce the number of tests and already include the 1 MiB cases. Some previous discussion on this topic can be found here. |
Seems reasonable. You can ignore our Log test cases, I started working on them in Berlin, but never finished properly |
@marcindsobczak can you provide the generator for |
Generators for it doesn't exist. Seems like I added TestCase and never delivered. Sorry for a mess |
@marcindsobczak Thanks, I will request review from our team and include them in next benchmark release. How can we collaborate to verify all the test case in gas-benchmark are fully ported? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Is Secp256r1InvalidSignature
missing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm as well! I had the same question on Secp256r1InvalidSignature
.
Thank you for your review! Currently, we don’t have precompile tests for invalid input cases. It would be worth adding new tests for all precompiles. I’ve created an issue to track this , i might want to add it in a separate PR, as the methodology would be slightly different. |
🗒️ Description
Most gas-benchmark test has been ported; more details can be found in the issue tracker. These are the new cases that need to be ported based on this branch.
Log0EmptyLog01byteLog032bytesLog01KiBLog016KiBLog4WithoutDataMod1EcPairing10PairsEcPairing2SetsUnique🔗 Related Issues or PRs
Issue
✅ Checklist
tox
checks to avoid unnecessary CI fails, see also Code Standards and Enabling Pre-commit Checks:uvx --with=tox-uv tox -e lint,typecheck,spellcheck,markdownlint
type(scope):
.mkdocs serve
locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.@ported_from
marker.